﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace CoreEx.Database.Linq
{
    public interface ILoadOptions
    {
        /// <summary>
        /// Gets or sets a list of expressions that describes
        /// additional relations that will be retrieved along with the root query.
        /// </summary>
        IList<Expression> Expressions { get; }
    }
    
    
    
    public interface ITable<T> :ILoadOptions, IOrderedQueryable<T>
    {
    
        void LoadWith<TTarget>(Expression<Func<TTarget, object>> expression);


    }
}
